﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EraNet.Core.Model.Account
{
    /// <summary>
    /// 自定义类，用户和组的映射
    /// </summary>
    public class AdminMapping
    {
        public int Id { get; set; }
        /// <summary>
        /// 账户名
        /// </summary>
        public virtual string AccountName { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public virtual string RealNames { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public virtual string Sex { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public virtual string Telephone { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public virtual string Address { get; set; }
        /// <summary>
        /// 邮件地址
        /// </summary>
        public virtual string Email { get; set; }
        /// <summary>
        /// 状态，
        /// 1.正常
        /// 0.锁定状态
        /// </summary>
        public virtual int Status { get; set; }
        /// <summary>
        /// 添加人
        /// </summary>
        public virtual int CreatedByUserID { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual DateTime CreateDate { get; set; }
        /// <summary>
        /// 最后登陆的IP地址
        /// </summary>
        public virtual string LastIPAddress { get; set; }
        /// <summary>
        /// 最后登陆时间
        /// </summary>
        public virtual DateTime LastLoginDate { get; set; }
        /// <summary>
        /// 组名
        /// </summary>
        public virtual string GroupName { get; set; }
    }

}
